package cn.cy.pojo;

import javax.persistence.*;
import java.io.Serializable;

//部门
@Entity
@Table(name = "SYS_DEPARTMENT", schema = "BDQN")
public class SysDepartment  implements Serializable {
    private Integer id;
    private String name;

    @Id
    @Column(name = "ID")
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Basic
    @Column(name = "NAME")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


}
